import request from "@/services"

// 获取歌手详情
export const getArtistDetailAPI = (id: number) => {
  return request.get({
    url: '/artist/detail',
    params: {
      id
    }
  })
}

// 获取歌手描述
export const getArtistDescAPI = (id: number) => {
  return request.get({
    url: '/artist/desc',
    params: {
      id
    }
  })
}

// 获取相似歌手
export const getSimiArtistAPI = (id: number) => {
  return request.get({
    url: '/simi/artist',
    params: {
      id
    }
  })
}

// 获取歌手mv
export const getArtistMvAPI = (id: number) => {
  return request.get<any>({
    url: '/artist/mv',
    params: {
      id
    }
  })
}

// 获取歌手歌曲
export const getAtistsAPI = (id: number) => {
  return request.get<any>({
    url: '/artists',
    params: {
      id
    }
  })
}